V2EX  ›  英汉词典

Frame Pointer

释义 Definition(中文)

帧指针:在计算机体系结构与编译器/汇编语境中,指向当前函数栈帧(stack frame)基准位置的寄存器或指针,用于更稳定地访问局部变量、函数参数,以及在调试与栈回溯(stack unwinding)中定位调用链。常见于 x86 的 EBP/RBP 等。(有时也泛指“指向某个数据帧的指针”,但最常见的是栈帧语义。)

例句 Examples

The frame pointer helps the debugger walk the call stack.
帧指针有助于调试器沿着调用栈进行回溯。

Although modern compilers may omit the frame pointer for optimization, keeping it can simplify profiling and post-crash analysis.
尽管现代编译器可能为优化而省略帧指针,但保留它能简化性能分析以及崩溃后的排查。

发音 Pronunciation(IPA)

/freɪm ˈpɔɪntər/

词源 Etymology(中文)

frame 原义为“框架、结构”,在编程里引申为一次函数调用所形成的“栈帧结构”;pointer 指“指针”。合起来即“指向(栈)帧的指针/基准指针”,用于把一次调用的内存布局“框起来、定位住”。

相关词 Related Words

文学/著作中的用例 Literary Works(作品示例)

  • Computer Systems: A Programmer’s Perspective(系统与栈帧、调用约定、调试相关章节常讨论 frame pointer)
  • Linkers and Loaders(涉及可执行文件、调试信息与调用栈相关概念)
  • Computer Organization and Design(讲解过程调用、栈与寄存器时可能提及相关术语)
  • The Art of Assembly Language(汇编层面讨论函数调用与栈帧时常出现 frame pointer)
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   1447 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 13ms · UTC 16:16 · PVG 00:16 · LAX 08:16 · JFK 11:16
♥ Do have faith in what you're doing.